package com.wd.study;

import android.app.Application;

import com.wd.base.component.AppConfig;
import com.wd.base.component.ComponentsService;
import com.wd.base.component.IAppComponent;
import com.wd.base.config.Constance;
import com.wd.base.router.ARouter;

/**
 * NA<BR>
 *
 * @author w4425
 * @version [V2.0.0, 2021/4/21]
 * @since V2.0.0
 */
public class StudyApp extends Application implements IAppComponent {
    @Override
    public void initialize(Application app) {
        ComponentsService.setAppComponent(AppConfig.PAGE_TYPE.STUDY, this);
        if (!Constance.isRouterAnnotation) {
            ARouter.getInstance().addActivity(Constance.MODULE_URL_STUDY, StudyActivity.class);
        }
    }
}
